<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>岭师青年欢迎您</title>
<link href="<%=request.getContextPath() %>/resources/css/index/style.css" rel="stylesheet">
<link href="//cdn.bootcss.com/jquery.bootstrapvalidator/0.5.3/css/bootstrapValidator.min.css" rel="stylesheet">
<script src="//cdn.bootcss.com/jquery/1.11.3/jquery.min.js"></script>
<script src="//cdn.bootcss.com/bootstrap/3.3.5/js/bootstrap.min.js"></script>
<script src="//cdn.bootcss.com/jquery.bootstrapvalidator/0.5.3/js/bootstrapValidator.min.js"></script>
<script src="<%=request.getContextPath() %>/resources/js/validate.js"></script>
<script type="text/javascript">
	function reCheckcode(img) {
		img.src = "drawCheckCode?" + Math.random();
	}
</script>
</head>
<body>
	<div class="container">
		<div class="row">
			<!-- form: -->
			<section>
				<div class="col-lg-8 col-lg-offset-2">
					<div class="page-header">
						<h2>岭师青年欢迎您的注册</h2>
					</div>
	
					<form id="registerForm" class="form-horizontal" method="post">
						<div class="form-group">
							<label class="col-lg-3 control-label">昵称：</label>
							<div class="col-lg-4">
								<input type="text" class="form-control" name="nickname" />
							</div>
						</div>
						<div class="form-group">
							<label class="col-lg-3 control-label">邮箱：</label>
							<div class="col-lg-4">
								<input type="text" class="form-control" name="email" />
							</div>
						</div>
						<div class="form-group">
							<label for="" class="col-lg-3 control-label">密码：</label>
							<div class="col-lg-4">
								<input type="password" class="form-control" name="password">
							</div>
						</div>
						<div class="form-group">
							<label for="" class="col-lg-3 control-label">确认密码：</label>
							<div class="col-lg-4">
								<input type="password" class="form-control"
									name="confirmPassword">
							</div>
						</div>
						<div class="form-group">
							<label for="" class="col-lg-3 control-label">姓名：</label>
							<div class="col-lg-4">
								<input type="text" class="form-control" name="username">
							</div>
						</div>
						<div class="form-group">
							<label for="" class="col-lg-3 control-label">验证码：</label>
							<div class="col-lg-4">
								<input type="text" class="form-control" name="vc">
							</div>
							<div class="col-lg-1">
								<img width="120px" height="30px" onclick="reCheckcode(this)" style="margin-top: 5px"
									src="drawCheckCode">
							</div>
						</div>
						<div class="form-group">
							<div class="col-lg-9 col-lg-offset-3">
								<button type="submit" class="btn btn-primary">注册</button>
								<button type="reset" class="btn btn-info" id="resetBtn">重置</button>
							</div>
						</div>
					</form>
				</div>
			</section>
		</div>
	</div>
	<!-- footer -->
	<jsp:include page="../comm/foot.jsp"></jsp:include>
</body>
</html>